import Router from 'vue-router'

export default new Router({
  routes: [
    // 搜索商品结果页
    {
      path: '/login',
      type: 'adminLoginVue',
      name: 'adminLoginVue',
      component: () => import('@/components/admin/login')
    },
    // 404
    {
      path: '/404',
      component: () => import('@/components/404')
    },
    {
      path: '*',
      redirect: '/404',
    }
  ],
  mode: 'history',
  base: 'admin'
})

